package cn.schoolwow.util.test.module.replaceFile.parent.testcase;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;
import cn.schoolwow.util.test.module.replaceFile.parent.flow.NormalStringReplaceFileProcessFlow;
import cn.schoolwow.util.test.module.replaceFile.parent.flow.RegexStringReplaceFileProcessFlow;

public class ReplaceFileTestCaseFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        flowContext.startFlow(new NormalStringReplaceFileProcessFlow())
                .next(new RegexStringReplaceFileProcessFlow())
                .execute();
    }

    @Override
    public String name() {
        return "替换文件测试用例";
    }
}
